﻿#ifndef MIDREGIONFORM_H
#define MIDREGIONFORM_H

#include <QWidget>
#include "taskeditor.h"
namespace Ui {
class midregionForm;
}

class midregionForm : public QWidget,public TaskEditor
{
    Q_OBJECT

public:
    explicit midregionForm(QWidget *parent = 0);
    ~midregionForm();

private:
    Ui::midregionForm *ui;
    // TaskEditor interface
public:
    void generateTask(TaskItem *pTask);
private slots:
    void on_pushButton_AddRegion_clicked();
    void on_pushButton_RemoveRegion_clicked();
    void on_pushButton_AddCycle_clicked();
    void on_pushButton_DeCycle_clicked();
    void on_pushButton_CalPos_clicked();
    void on_comboBox_TimeAlign_currentIndexChanged(int index);
    void on_tableWidget_Command_currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn);
};

#endif // MIDREGIONFORM_H
